<%@ page language="java" contentType="text/html" pageEncoding="UTF-8"%>
<jsp:useBean id="customer" scope="request" type="com.domain.Customer"></jsp:useBean>

<html>
<head>
<title>Employee Create</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://localhost:8080/CRM/Example/template023/css/stylemenu.css" type="text/css">
<link rel="stylesheet" href="http://localhost:8080/CRM/Example/template023/css/styles.css" type="text/css">
 <link rel="stylesheet" href="http://localhost:8080/CRM/Example/css/themeLogin.css" type="text/css">
 
   <link type="text/css" rel="stylesheet" href="../css/themeLogin.css">
    <script type="text/javascript" src="../jq/jquery-1.9.0.min.js"></script>
    <script type="text/javascript">
        $(function () {

            $('li').has('ul').mouseover(function () {
                $(this).children('ul').show();
            }).mouseout(function () {
                $(this).children('ul').hide();
            })

        });
    </script>
    <script type="text/javascript">
        function submitAnchor(name) {
            document.getElementById(name).submit();
            return true;
        }
</script>
</head>
<body bgcolor="#CCCCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <table width="1300" height="70" border="0" align="center" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr> 
    <td><img src="http://localhost:8080/CRM/Example/template023/images/beautyshop01.jpg" height="200" width="1300"/></td>
  </tr>
</table>
    <table width="1300" height="70" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td>    
   
<ul id="menu">
	<li><a href="http://localhost:8080/CRM/index">Home</a></li>
	<li>
		<a href="#">Treatment</a>
		<ul>
			<li>
                
		<a href="http://localhost:8080/CRM/Treatment/List">Treatment List</a>
	
			</li>
			<li>
				
		<a href="http://localhost:8080/CRM/Treatment/CreateForm">Treatment Create</a>
	
			</li>
		</ul>
	</li>
	<li>
		<a href="#">Package Information</a>
		<ul>
			<li>
				
		<a href="http://localhost:8080/CRM/Package/List">Package List</a>
	
			</li>
			<li>
				
		<a href="http://localhost:8080/CRM/Package/CreateForm">Package Create</a>
	
			</li>
		</ul>		
	</li>
    <li>
		<a href="#">Employee Information</a>
		<ul>
			<li>
				
		<a href="http://localhost:8080/CRM/Employee/List">Employee List</a>
	
			</li>
			<li>
				
		<a href="http://localhost:8080/CRM/Employee/CreateForm">Employee Create</a>
	
			</li>
            <li>
				
		<a href="http://localhost:8080/CRM/Report/Employees">Employee Report</a>
	
			</li>
		</ul>		
	</li>
    <li>
		<a href="#">Customer Information</a>
		<ul>
			<li>
				
		<a href="http://localhost:8080/CRM/Customer/List">Customer List</a>
	
			</li>
			<li>
				
		<a href="http://localhost:8080/CRM/Customer/AddForm">Add Customer</a>
	
			</li>
		</ul>		
	</li>
    <li>
		<a href="#">Sales Information</a>
		<ul>
			<li>
				
		<a href="http://localhost:8080/CRM/Report/TopTreatmentSalesFrom">Top Treatment Sales Report</a>
	
			</li>
			<li>
				
		<a href="http://localhost:8080/CRM/Transaction/TreatmentForm">Sales Transaction</a>
	
			</li>
            <li>
				
		<a href="http://localhost:8080/CRM/Transaction/Treatment/Search">Search Treatment Transaction</a>
	
			</li>
		</ul>		
	</li>
	<li>
		
		<a href="http://localhost:8080/CRM/Employee/Logout">Logout</a>
	
	</li>
</ul>
</td> <td>&#32&#32&#32&#32</td><td>&#32&#32&#32&#32</td><td>User Name: Solio</td>
  </tr>
</table>

<table width="1300" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" align="center">
  <!--DWLayoutTable-->
   
    
    <td width="300" rowspan="2" valign="top">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
     <img width="300" height="500" src="http://localhost:8080/CRM/Example/template023/images/Z-BEAUTY logo.jpg" />
    </table></td>
    <td width="1000" height="172" valign="top">
        <table>
<FORM METHOD="POST" ACTION="/CRM/Customer/Edit">
<table align="center" id="tblMain" cellpadding=0 cellspacing=0>
	
	<tr>
		<td id="mdLft">&nbsp;</td>
		<td id="mdMid">
			<table id="tblMid" class="mid">
				
				<tr>
					<td>
						<table cellpadding=0 cellspacing=0>
							<col class="nowrap">
							<col class="w100">
							<col>
							<tr>
								<td nowrap><label >Customer ID:</label></td>
								<td class="txtpad"><input name="customer_id" type="text" class="txt" VALUE="<%=customer.getCustomer_id()%>"/></td>
							</tr>
                            <tr>
								<td nowrap><label>Customer First Name:</label></td>
								<td class="txtpad"><input name="firstName" type="text" class="txt" VALUE="<%=customer.getFirstName()%>"/></td>
							</tr>
							<tr>
								<td nowrap><label>Customer Last Name:</label></td>
								<td class="txtpad"><input name="lastName" type="text" class="txt" VALUE="<%=customer.getLastName()%>"/></td>
							</tr>
							<tr>
								<td nowrap><label>Sex:</label></td>
								<td class="txtpad"><input name="sex" type="text" class="txt" VALUE="<%=customer.getSex()%>"/></td>
							</tr>
							<tr>
								<td nowrap><label>Age:</label></td>
								<td class="txtpad"><input name="age" type="text" class="txt" VALUE="<%=customer.getAge()%>"/></td>
							</tr>
							<tr>
								<td nowrap><label>Height:</label></td>
								<td class="txtpad"><input name="height" type="text" class="txt" VALUE="<%=customer.getHeight()%>"/></td>
							</tr>
							<tr>
								<td nowrap><label>Weight:</label></td>
								<td class="txtpad"><input name="weight" type="text" class="txt" VALUE="<%=customer.getWeight()%>"/></td>
							</tr>
							
                            <tr>
								<td nowrap><label>Package ID:</label></td>
								<td class="txtpad"><input name="package_id" type="text" class="txt" VALUE="<%=customer.getPackage_id()%>"/></td>
							</tr>
                            <tr>
								<td nowrap><label>Employee ID:</label></td>
								<td class="txtpad"><input name="employee_id" type="text" class="txt" VALUE="<%=customer.getEmployee_id()%>"/></td>
							</tr>
							<tr>
								<td colspan=2 align="right" class="txtpad">
									
									<input type="submit" class="btn" value="Submit" />
									
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr><td><hr></td></tr>
				
			</table>
			<table id="tblMid2" class="mid" style="display:none">
				<tr><td><hr></td></tr>
				<tr>
					<td align="right" class="txtpad">
					
						<input type="button" class="btn" style="float: right" value="Retry" onclick="clkRtry()" 
						onmouseover="this.className='btnOnMseOvr'" onmouseout="this.className='btn'" onmousedown="this.className='btnOnMseDwn'">
					
					</td>
				</tr>
			</table>
			
		</td>
		<td id="mdRt">&nbsp;</td>
	</tr>
	
</table>

</form>
        </table>
    </td>
</table>
<table width="1300" height="40" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#2E2500">
  <tr> 
    <td height="24" align="center" valign="middle" class="text1"> Copyright &copy; 
      2013 Beauty Salon. All rights reserved. 
      </td>
  </tr>
</table>
</body>
</html>
